package com.h3c.nem.entity;

import java.util.Date;
import javax.persistence.*;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: TbPreWorker
 *
 * @Author: l22886
 * @Date: 2022-01-19
 * Description: tb_pre_worker 实体
 * Version: 1.0
 */
@ApiModel(value="TbPreWorker对象", description="")
@Table(name = "tb_pre_worker")
public class TbPreWorker {


    @ApiModelProperty(value = "预备员工工号")
    @Column(name = "pre_worker_id")
    @TableId
    private String preWorkerId;

    @ApiModelProperty(value = "姓名")
    @Column(name = "worker_name")
    private String workerName;

    @ApiModelProperty(value = "手机号码")
    @Column(name = "phone_no")
    private String phoneNo;

    @ApiModelProperty(value = "邮箱地址")
    @Column(name = "email")
    private String email;

    @ApiModelProperty(value = "一级部门名称")
    @Column(name = "dept1name")
    private String dept1name;

    @ApiModelProperty(value = "二级部门名称")
    @Column(name = "dept2name")
    private String dept2name;

    @ApiModelProperty(value = "三级部门名称")
    @Column(name = "dept3name")
    private String dept3name;

    @ApiModelProperty(value = "四级部门名称")
    @Column(name = "dept4name")
    private String dept4name;

    @ApiModelProperty(value = "直属部门ID")
    @Column(name = "direct_dept_id")
    private Integer directDeptId;

    @ApiModelProperty(value = "登记日期")
    @Column(name = "regist_date")
    private Date registDate;

    @ApiModelProperty(value = "计划入职日期")
    @Column(name = "plan_join_date")
    private Date planJoinDate;

    @Column(name = "change_plan_join_date")
    private Date changePlanJoinDate;


    @ApiModelProperty(value = "试用期月数")
    @Column(name = "probation_month")
    private Integer probationMonth;

    @ApiModelProperty(value = "转正日期")
    @Column(name = "pass_date")
    private Date passDate;

    @ApiModelProperty(value = "性别：1 男； 2 女；")
    @Column(name = "sex")
    private Integer sex;

    @ApiModelProperty(value = "岗位名称")
    @Column(name = "post_name")
    private String postName;

    @ApiModelProperty(value = "工作履行地")
    @Column(name = "work_city")
    private String workCity;

    @ApiModelProperty(value = "数据来源")
    @Column(name = "data_src")
    private String dataSrc;

    @ApiModelProperty(value = "学历")
    @Column(name = "edu_level")
    private String eduLevel;

    @ApiModelProperty(value = "年龄")
    @Column(name = "age")
    private String age;

    @ApiModelProperty(value = "专业名称")
    @Column(name = "edu_major_name")
    private String eduMajorName;

    @ApiModelProperty(value = "工作经历")
    @Column(name = "work_experience")
    private String workExperience;

    @ApiModelProperty(value = "部门接口人")
    @Column(name = "dept_contactor")
    private String deptContactor;

    @ApiModelProperty(value = "思想导师工号/姓名")
    @Column(name = "teacher_info")
    private String teacherInfo;

    @ApiModelProperty(value = "直接上级工号/姓名")
    @Column(name = "direct_manager")
    private String directManager;

    @ApiModelProperty(value = "隔级上级工号/姓名")
    @Column(name = "second_manager")
    private String secondManager;

    @ApiModelProperty(value = "创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @ApiModelProperty(value = "员工状态：1 待启动考核；2 考核进行中；3 已转正；4 已淘汰；5、已终止")
    @Column(name = "worker_status")
    private Integer workerStatus;

    @ApiModelProperty(value = "身份证号")
    @Column(name = "id_card_no")
    private String idCardNo;

    @ApiModelProperty(value = "人事范围（公司名称）")
    @Column(name = "company_name")
    private String companyName;

    /**
     * 发送邮件的bp邮箱 从hrss过来
     */
    @Column(name = "send_bp_email")
    private String sendBpEmail;

    public Date getChangePlanJoinDate() {
        return changePlanJoinDate;
    }

    public void setChangePlanJoinDate(Date changePlanJoinDate) {
        this.changePlanJoinDate = changePlanJoinDate;
    }

    public String getPreWorkerId() {
        return preWorkerId;
    }

    public void setPreWorkerId(String preWorkerId) {
        this.preWorkerId = preWorkerId;
    }

    public String getWorkerName() {
        return workerName;
    }

    public void setWorkerName(String workerName) {
        this.workerName = workerName;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getDept1name() {
        return dept1name;
    }

    public void setDept1name(String dept1name) {
        this.dept1name = dept1name;
    }

    public String getDept2name() {
        return dept2name;
    }

    public void setDept2name(String dept2name) {
        this.dept2name = dept2name;
    }

    public String getDept3name() {
        return dept3name;
    }

    public void setDept3name(String dept3name) {
        this.dept3name = dept3name;
    }

    public String getDept4name() {
        return dept4name;
    }

    public void setDept4name(String dept4name) {
        this.dept4name = dept4name;
    }

    public Integer getDirectDeptId() {
        return directDeptId;
    }

    public void setDirectDeptId(Integer directDeptId) {
        this.directDeptId = directDeptId;
    }

    public Date getRegistDate() {
        return registDate;
    }
    public void setRegistDate(Date registDate) {
        this.registDate = registDate;
    }

    public Date getPlanJoinDate() {
        return planJoinDate;
    }
    public void setPlanJoinDate(Date planJoinDate) {
        this.planJoinDate = planJoinDate;
    }

    public Integer getProbationMonth() {
        return probationMonth;
    }

    public void setProbationMonth(Integer probationMonth) {
        this.probationMonth = probationMonth;
    }

    public Date getPassDate() {
        return passDate;
    }
    public void setPassDate(Date passDate) {
        this.passDate = passDate;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getWorkCity() {
        return workCity;
    }

    public void setWorkCity(String workCity) {
        this.workCity = workCity;
    }

    public String getDataSrc() {
        return dataSrc;
    }

    public void setDataSrc(String dataSrc) {
        this.dataSrc = dataSrc;
    }

    public String getEduLevel() {
        return eduLevel;
    }

    public void setEduLevel(String eduLevel) {
        this.eduLevel = eduLevel;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getEduMajorName() {
        return eduMajorName;
    }

    public void setEduMajorName(String eduMajorName) {
        this.eduMajorName = eduMajorName;
    }

    public String getWorkExperience() {
        return workExperience;
    }

    public void setWorkExperience(String workExperience) {
        this.workExperience = workExperience;
    }

    public String getDeptContactor() {
        return deptContactor;
    }

    public void setDeptContactor(String deptContactor) {
        this.deptContactor = deptContactor;
    }

    public String getTeacherInfo() {
        return teacherInfo;
    }

    public void setTeacherInfo(String teacherInfo) {
        this.teacherInfo = teacherInfo;
    }

    public String getDirectManager() {
        return directManager;
    }

    public void setDirectManager(String directManager) {
        this.directManager = directManager;
    }

    public String getSecondManager() {
        return secondManager;
    }

    public void setSecondManager(String secondManager) {
        this.secondManager = secondManager;
    }

    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getWorkerStatus() {
        return workerStatus;
    }

    public void setWorkerStatus(Integer workerStatus) {
        this.workerStatus = workerStatus;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getSendBpEmail() {
        return sendBpEmail;
    }

    public void setSendBpEmail(String sendBpEmail) {
        this.sendBpEmail = sendBpEmail;
    }

    @Override
    public String toString() {
        return "TbPreWorker{" +
                "preWorkerId=" + preWorkerId +
                ", workerName=" + workerName +
                ", phoneNo=" + phoneNo +
                ", email=" + email +
                ", dept1name=" + dept1name +
                ", dept2name=" + dept2name +
                ", dept3name=" + dept3name +
                ", dept4name=" + dept4name +
                ", directDeptId=" + directDeptId +
                ", registDate=" + registDate +
                ", planJoinDate=" + planJoinDate +
                ", probationMonth=" + probationMonth +
                ", passDate=" + passDate +
                ", sex=" + sex +
                ", postName=" + postName +
                ", workCity=" + workCity +
                ", dataSrc=" + dataSrc +
                ", eduLevel=" + eduLevel +
                ", age=" + age +
                ", eduMajorName=" + eduMajorName +
                ", workExperience=" + workExperience +
                ", deptContactor=" + deptContactor +
                ", teacherInfo=" + teacherInfo +
                ", directManager=" + directManager +
                ", secondManager=" + secondManager +
                ", createTime=" + createTime +
                ", workerStatus=" + workerStatus +
                ", idCardNo=" + idCardNo +
                ", companyName=" + companyName +
                "}";
    }
}
